package com.doubi.model.sys;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 热门搜索
 *
 * @author MrDoubi
 * @since 2020-03-10
 */
@Data
@TableName("t_hot_search")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class THotSearch extends Model<THotSearch> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    /**
     * 名称
     */
    @TableField("name")

    private String name;


    @TableField("update_time")

    private Date updateTime;


    @TableField("create_time")

    private Date createTime;


    @TableField("is_delete")
    @TableLogic

    private Integer isDelete;


}